package cn.kn.sys.service;

import cn.kn.common.model.PageBean;
import cn.kn.common.model.R;
import cn.kn.sys.vo.RoleVo;

/**
 * @author WangJiang
 * @create 2020-12-04 15:34
 */
public interface RoleService {
    R list(String name, PageBean pageBean);

    R add(RoleVo roleVo);

    R del(Long id);

    R edit(Long id, RoleVo roleVo);

    R editStatus(Long id, Boolean isstop);

    R all();
}
